-- GENERATED SPELL FOR [Felmusk Rogue] --


function spell0_3759(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(6595,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3759', 0, 1)
end

function spell1_3759(pUnit, Event) --@Overwhelming Stench,n/a--
pUnit:FullCastSpellOnTarget(6942,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3759', 6000, 1)
end

function Sorts_3759(pUnit, Event)
local choix_sorts_3759 = math.random(0, 1)
if choix_sorts_3759 == 0 then
pUnit:RegisterEvent('spell0_3759', 1, 1)
end
if choix_sorts_3759 == 1 then
pUnit:RegisterEvent('spell1_3759', 1, 1)
end
end

function mob3759_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3759', math.random(1500, 3000), 1)
end

function mob3759_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3759_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3759_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3759, 1, 'mob3759_Action')
RegisterUnitEvent(3759, 2, 'mob3759_Leave')
RegisterUnitEvent(3759, 3, 'mob3759_Kill')
RegisterUnitEvent(3759, 4, 'mob3759_Die')
